<?php
 /**
 +------------------------------------------------------------------------------
 * title
 +------------------------------------------------------------------------------
 * @Version  2.3
 * @Author   WangXian
 * @E-mail    admin@loopx.cn
 * @FileName  indexController.php
 * @Creation  date 2010-12-6 下午04:52:16
 * @Modified  date 2010-12-6 下午04:52:16
 +------------------------------------------------------------------------------
 */
class indexController
{
	function __construct()
	{
		$this->view = new View();
	}
	
	function indexAction()
	{
		$this->view->render();
	}
	
	function downloadAction()
	{
		//直接在线下载。
		Http::download('','百度.html', file_get_contents('http://www.baidu.com'));
		//下载服务器文件
		//Http::download('e:/a.txt','a.txt');
	}
}

/* End of file indexController.php */
/* Location: indexController.php */